import axios from "axios"
//获取省
export const fetchData = () => axios.get("../../provience.json").then(res=>res.data.data.filter(item => item.parentId === 0))
//获取市
export const fetchCity = (parentId) => axios.get("../../provience.json").then(res => res.data.data.filter(item => item.parentId === parentId))